package com.zhku.meeting.entities.bo;

import com.zhku.meeting.entities.req.PredicateMsgReq;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class PredicateMsgBo {

    private Integer recordId;

    private Integer deptId;

    private String predicateMsg;

    private Integer evaluationLevel;

    public void buildInit(PredicateMsgReq predicateMsgReq, int seletByNo) {
        this.setPredicateMsg(predicateMsgReq.getPredicateMsg());
        this.setRecordId(predicateMsgReq.getRecordId());
        this.setEvaluationLevel(predicateMsgReq.getEvaluationLevel());

    }
}
